package com.info33.platform.doc.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.info33.platform.doc.entity.DocFileUser;
import com.info33.platform.doc.vo.DocFileUserVO;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author admin
 */
@Repository
public interface DocFileUserDao extends BaseMapper<DocFileUser>{

	/**
	 * 根据文件id获取权限详情
	 * @param fileId
	 * @param createBy
	 * @return
	 */
	List<DocFileUserVO> getFileUserDetail(@Param("fileId") Long fileId, @Param("createBy") Long createBy, @Param("type") Integer type);


}